package com.example.membersteward.service;

import com.example.membersteward.common.CommonResult;
import com.example.membersteward.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.membersteward.entity.vo.UserVo;
import org.springframework.web.multipart.MultipartFile;

/**
* @author 26690
* @description 针对表【user(用户表)】的数据库操作Service
* @createDate 2025-04-08 22:52:37
*/
public interface UserService extends IService<User> {


    CommonResult login(User user);

    CommonResult register(UserVo user);

    CommonResult getUserByPage(int pageNum, int pageSize, UserVo user);

    CommonResult resetPassword(User user);

    CommonResult deleteUser(String userIds);

    CommonResult updateUser(MultipartFile file, UserVo user);
}
